﻿namespace ExamV5.StudyInfo
{
    using ExamV5;
    using System;
    using System.Configuration;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;

    public class FrmShowSujbectInfo : Page
    {
        protected HtmlForm form1;
        protected HtmlHead Head1;
        private PublicFun publicFun_0 = new PublicFun();
        protected int strSubjectID = 0;

        protected void Page_Load(object sender, EventArgs e)
        {
            base.Title = ConfigurationManager.ConnectionStrings["ProTitle"].ConnectionString + "---查看电子教材";
            this.strSubjectID = Convert.ToInt32(base.Request["ID"]);
            if (!base.IsPostBack)
            {
                this.publicFun_0.ExecuteSql("update BookInfo set ReadNum=ReadNum+1 where ID=" + this.strSubjectID);
            }
        }
    }
}

